package com.laowang.project.system.domain.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @Auther laowang
 * @Date 2021/6/10
 * @Description  提现对象
 */
@Data
public class WithdrawObj {

    @NotNull(message = "金额不能为空")
    @ApiModelProperty(value = "提现金额")
    private BigDecimal amount;

    @NotBlank(message = "真实姓名不能为空")
    @ApiModelProperty(value = "真实姓名")
    private String name;

}
